package office.excel.poi.exp;

import javax.servlet.http.HttpServletRequest;

import net.sf.json.JSONArray;


/**
 * 从request中取得前台上传的json数组
 * 交给ExpExcel.class处理
 * @author Administrator
 *
 */
public class ConverStrToJson {
  public static String parameterName = "DBArray";
  public static JSONArray GetJSONArray(HttpServletRequest request) 
  {
	  String s = request.getParameter(parameterName);
	  JSONArray array = JSONArray.fromObject(s);
	  return array;
  }
}
